package com.campus.dao;


import com.campus.model.Activity;

import java.util.List;
/**
 * @desc:
 * @author: Tournesol234
 * @date: 2024/11/22 14.41
 */
public interface ActivityDao {

    int createActivity(Activity activity);


    int updateActivity(Activity activity);

    int publishActivity(int id);


    int deleteActivity(int id);

    List<Activity> queryActivities(String status, String nameKeyword, String sortBy);
}

